#!/bin/bash
if [ `jcmd |grep /home/xujun/zookeeper|wc -l` -eq 0 ];then
     bash /home/xujun/zookeeper/bin/zkServer.sh start &>/dev/null
     echo "zookeeper is start"
else
     echo "zookeeper is start"
fi

if [ `jcmd |grep zkui|wc -l` -eq 0 ];then
     bash /home/xujun/zkui2.0/start.sh &>/dev/null
     echo "zkui is start"
else
     echo "zkui is start"
fi

if [ `ss -lntp|grep 2230|wc -l` -eq 0 ];then
     bash /iflytek/server/skynet/bin/ant-xmanager.sh &>/dev/null
     echo "skynet is start"
else
     echo "skynet is start"
fi 
